package com.onlygx.dva.common.exception;

/**
 * <p>
 * 自定义认证异常
 * </p>
 */
public class AuthException extends RuntimeException {

    private static final String DEFAULT_MESSAGE = "认证失败 - 您没有权限进行所选操作。";

    public AuthException(String message) {
        super(message);
    }

    public AuthException() {
        super(DEFAULT_MESSAGE);
    }
}
